package com.jspx.txweb.vo;

import com.jspx.sober.annotation.Column;
import com.jspx.sober.annotation.Table;
import java.io.Serializable;

/**
 * Created by Administrator on 2017/7/9.
 *
 */
@Table(name = "jspx_money_integral_vo", caption = "钱和积分",create = false)
public class MoneyIntegralVO implements Serializable {

    @Column(caption = "金额", notNull = true)
    private float money = 0;

    @Column(caption = "积分", notNull = true)
    private int integral = 0;

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public String toString()
    {
        return money+":"+integral;
    }
}
